package com.onegene.pdf.component.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author: laoliangliang
 * @description:
 * @create: 2020/7/27 16:03
 **/
@Configuration
@Data
public class CommonParam {
    @Value("${onegene.font.path}")
    public String fontPath;

    @Value("${onegene.pdf.prefix:/Users/laoliangliang/Desktop/}")
    public String prefixPath;

    @Value("${onegene.parallelism:4}")
    public String parallelism;

    @Value("${spring.profiles.active}")
    public String profile;

    @Value("${onegene.biology.print.gene.url:http://infoapi.1genehealth.com/biology/bio/report/print}")
    public String geneUrl;

    @Value("${onegene.biology.print.medical.url:http://infoapi.1genehealth.com/biology/bio/report/medical/print}")
    public String adultDrugUrl;

    @Value("${onegene.biology.print.early.url:http://infoapi.1genehealth.com/biology/bio/report/early}")
    public String earlyUrl;

        @Value("${mail.to:yannan@1gene.com.cn,laoliangliang1911@1gene.com.cn}")
//    @Value("${mail.to:laoliangliang1911@1gene.com.cn}")
    public String toMail;

    @Value("${ftp.prefix:/FTPRoot/下载专用目录/每日报告导出/}")
    public String ftpPrefix;
}
